package org.nf.box.service;

import org.nf.box.domain.Like;

/**
 * @Author lzp
 * @Date 2024-12-19
 */
public interface LikeService {
    /**
     * 点赞
     * @param like 点赞
     */
    void addLick(Like like);

    /**
     * 是否点赞
     * @return 点赞实体
     */
    Integer isLike(Integer userId, Integer postId);
}
